system system;
particle_group particle_group;
star_field star_field;

void setup() {
  size(400,400);
  background(0);

  particle_group = new particle_group(200);
  system = new system(particle_group);

  star_field = new star_field(600);

  smooth();
  noStroke();
  rectMode(CENTER);
  shapeMode(CENTER);
  frameRate(30);
}

test test;

void draw() {

  
  
  fill(0,0,0,50);
  rect(0+width/2,0+height/2,width,height);

  system.math();
  particle_group.math();
  star_field.math();

  particle_group.render();
  star_field.render();
}


